package com.ty.xiaoyu.util;

import java.time.LocalDateTime;

public class MyTimeUtil {

    public static LocalDateTime nowTime() {
//        DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");
//        LocalDateTime now = LocalDateTime.now();
//        return formatter.format(now);
        return LocalDateTime.now();
    }

}
